export default {
  chooseCity (state, city) {
    state.city = city
    try {
      localStorage.city = city
    } catch (e) {}
  },
  savePageState (state, obj) {
    state.pageState[obj.name] = obj.state
  }
}
